package com.finance.service.customer;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finance.dao.customer.JingdongConsumptionMapper;
import com.finance.entity.customer.JingdongConsumption;

@Service("JingdongConsumptionService")
public class JingdongConsumptionService {
	
	@Resource(name = "JingdongConsumptionMapper")
	private JingdongConsumptionMapper jingdongConsumptionMapper;
	
    public void deleteByPrimaryKey(Integer jdId){
    	jingdongConsumptionMapper.deleteByPrimaryKey(jdId);
    }

    public void insert(JingdongConsumption record){
    	jingdongConsumptionMapper.insert(record);
    }

    public void insertSelective(JingdongConsumption record){
    	jingdongConsumptionMapper.insertSelective(record);
    }

    public JingdongConsumption selectByPrimaryKey(Integer jdId){
    	return jingdongConsumptionMapper.selectByPrimaryKey(jdId);
    }

    public void updateByPrimaryKeySelective(JingdongConsumption record){
    	jingdongConsumptionMapper.updateByPrimaryKeySelective(record);
    }

    public void updateByPrimaryKey(JingdongConsumption record){
    	jingdongConsumptionMapper.updateByPrimaryKey(record);
    }
    
    public List<JingdongConsumption> findByList(String kfUserId){
    	return jingdongConsumptionMapper.findByList(kfUserId);
    }
}
